package vinux.web.common.es.bo;

import java.io.Serializable;

import vinux.service.entity.expenseacount.ExpenseAcount;


/**
 * @ClassName ExpenseAcountBo.java	
 * @Descreption 
 * @author 苏超
 * 2016年11月7日
 */
public class ExpenseAcountBo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Long id;
    private Long userid;
    private String orderno;
    private String requestsn;
    private String ordercomminuty;
    private String applymoney;
    private String comminutyid;
    private String applypensionindex;
    private String applyproportion;
    private Long applytime;
    private Long ordercreatedate;
    private String ordermoney;
    private String ordertype;
    private String applytype;
	private String  accountoutid;
	
	public ExpenseAcountBo(ExpenseAcount expense){
		this.id = expense.getId();
		this.userid = expense.getUserId();
		this.orderno = expense.getOrderNo();
		this.requestsn = expense.getRequestSn();
		this.ordercomminuty = expense.getOrderComminuty();
		this.applymoney = String.valueOf(expense.getApplyMoney());
		this.comminutyid = expense.getComminutyId();
		this.applypensionindex = String.valueOf(expense.getApplyPensionIndex());
		this.applyproportion = String.valueOf(expense.getApplyProportion());
		this.applytime = expense.getApplyTime().getTime();
		this.ordercreatedate = expense.getOrderCreateDate().getTime();
		this.ordermoney = String.valueOf(expense.getOrderMoney());
		this.ordertype = expense.getOrderType();
		this.applytype = String.valueOf(expense.getApplyType());
		this.accountoutid = expense.getAccountOutId();
		
		
	}
	
	public ExpenseAcountBo(){
		
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getOrderno() {
		return orderno;
	}

	public void setOrderno(String orderno) {
		this.orderno = orderno;
	}

	public String getRequestsn() {
		return requestsn;
	}

	public void setRequestsn(String requestsn) {
		this.requestsn = requestsn;
	}

	public String getOrdercomminuty() {
		return ordercomminuty;
	}

	public void setOrdercomminuty(String ordercomminuty) {
		this.ordercomminuty = ordercomminuty;
	}

	public String getApplymoney() {
		return applymoney;
	}

	public void setApplymoney(String applymoney) {
		this.applymoney = applymoney;
	}

	public String getComminutyid() {
		return comminutyid;
	}

	public void setComminutyid(String comminutyid) {
		this.comminutyid = comminutyid;
	}

	public String getApplypensionindex() {
		return applypensionindex;
	}

	public void setApplypensionindex(String applypensionindex) {
		this.applypensionindex = applypensionindex;
	}

	public String getApplyproportion() {
		return applyproportion;
	}

	public void setApplyproportion(String applyproportion) {
		this.applyproportion = applyproportion;
	}


	public Long getApplytime() {
		return applytime;
	}

	public void setApplytime(Long applytime) {
		this.applytime = applytime;
	}

	public Long getOrdercreatedate() {
		return ordercreatedate;
	}

	public void setOrdercreatedate(Long ordercreatedate) {
		this.ordercreatedate = ordercreatedate;
	}

	public String getOrdermoney() {
		return ordermoney;
	}

	public void setOrdermoney(String ordermoney) {
		this.ordermoney = ordermoney;
	}

	public String getOrdertype() {
		return ordertype;
	}

	public void setOrdertype(String ordertype) {
		this.ordertype = ordertype;
	}

	public String getApplytype() {
		return applytype;
	}

	public void setApplytype(String applytype) {
		this.applytype = applytype;
	}

	public String getAccountoutid() {
		return accountoutid;
	}

	public void setAccountoutid(String accountoutid) {
		this.accountoutid = accountoutid;
	}
	
	
	
}
